﻿
namespace LuckyLoot.Domain.ValueObjects
{
    public class FacebookPage
    {
        public string Value { get; set; }

        public static implicit operator string(FacebookPage page)
        {
            return page.Value;
        }

        public static implicit operator FacebookPage(string value)
        {
            FacebookPage page = new FacebookPage();
            page.Value = value;

            return page;
        }

        public override string ToString()
        {
            return this.Value;
        }
    }
}
